/**
 * @class Artist
 * @description Class for a LastFM Artist Object
 */
var Artist = function()
{
	this.id = "";
	this.name = "";
	this.url = "";
	this.image = "";

	this.albums = new Array();

	/**
	 * Init the artist object
	 *
	 * @param result Array
	 */
	this.init = function(result)
	{
		this.id = result["mbid"];
		this.name = result["name"];
		this.url = result["url"];
		this.image = result["image"][0];
	}

	/**
	 * Get topalbums from this artist
	 */
	this.getAlbums = function()
	{
		//dataLayer.getArtistTopAlbums(this);
	}
}